/*
** make_meteorite.c for make meteorite in /u/epitech_2014/caille_c/public/colle
** 
** Made by mickael pucheu
** Login   <pucheu_m@epitech.net>
** 
** Started on  Mon Apr 26 20:02:49 2010 mickael pucheu
** Last update Mon Apr 26 21:22:40 2010 carole cailleux
*/

#include <stdlib.h>
#include <time.h>
#include "starwars.h"

void		mk_meteors()
{
  int		i;
  int		j;
  int		val_rand;
  char		ast_tab[4][4];

  i = 0;
  j = 0;
  srand(time(NULL));
  while (j < 4)
    {
      i = 0;
      while (i < 4)
	{
	  val_rand = (rand() % 2);
	  if (val_rand == 0)
	    ast_tab[j][i] = '#';
	  else
	    ast_tab[j][i] = ' ';
	  i++;
	}
      j++;
    }
}
